package com.yutel.gps.model;

public class RunParameter {
	private static RunParameter instence;

	private String table;
	private String srcLngColumn;
	private String srcLatColumn;
	private String aimLngColumn;
	private String aimLatColumn;
	private String statusColumn;
	private int statusValue;
	private int successValue;
	private long frequency;

	private RunParameter() {
		srcLngColumn = "gps_lng";
		srcLatColumn = "gps_lat";
		aimLngColumn = "bd_lng";
		aimLatColumn = "bd_lat";
		statusColumn = "status";
		statusValue = 0;
		successValue = 1;
		frequency = 100l;
	}

	public static RunParameter getIns() {
		if (instence == null) {
			instence = new RunParameter();
		}
		return instence;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getSrcLngColumn() {
		return srcLngColumn;
	}

	public void setSrcLngColumn(String srcLngColumn) {
		this.srcLngColumn = srcLngColumn;
	}

	public String getSrcLatColumn() {
		return srcLatColumn;
	}

	public void setSrcLatColumn(String srcLatColumn) {
		this.srcLatColumn = srcLatColumn;
	}

	public String getAimLngColumn() {
		return aimLngColumn;
	}

	public void setAimLngColumn(String aimLngColumn) {
		this.aimLngColumn = aimLngColumn;
	}

	public String getAimLatColumn() {
		return aimLatColumn;
	}

	public void setAimLatColumn(String aimLatColumn) {
		this.aimLatColumn = aimLatColumn;
	}

	public String getStatusColumn() {
		return statusColumn;
	}

	public void setStatusColumn(String statusColumn) {
		this.statusColumn = statusColumn;
	}

	public int getStatusValue() {
		return statusValue;
	}

	public void setStatusValue(int statusValue) {
		this.statusValue = statusValue;
	}

	public int getSuccessValue() {
		return successValue;
	}

	public void setSuccessValue(int successValue) {
		this.successValue = successValue;
	}

	public long getFrequency() {
		return frequency;
	}

	public void setFrequency(long frequency) {
		this.frequency = frequency;
	}
}
